<?php

/**
 * GestdentPaciente form.
 *
 * @package    gestdent
 * @subpackage form
 * @author     Your name here
 * @version    SVN: $Id: sfPropelFormTemplate.php 10377 2008-07-21 07:10:32Z dwhittle $
 */
class GestdentPacienteForm extends BaseGestdentPacienteForm
{
  public function configure()
  {

    $this->widgetSchema['created_at'] = new sfWidgetFormInputHidden();

    $years = range(date('Y') - 80, date('Y') );
    $this->widgetSchema['fecha_nacimiento'] = new sfWidgetFormDate(array('format'=>'%day%%month%%year%','years'=>array_combine($years, $years)));

  }
}
